#!/bin/sh
# -*- shell-script -*-
# Copyright (C) 2004-2012 GraphicsMagick Group
# Test montage
. ./common.shi
. ${top_srcdir}/utilities/tests/common.sh

# Number of tests we plan to execute
test_plan_fn 3

test_command_fn 'Montage' -F TTF ${GM} montage ${MONTAGE_FLAGS} -geometry '130x194+10+5>' -gravity 'Center' \
  -bordercolor 'green' -borderwidth 1x1 -tile '7x4' -compose 'over' \
  -background '#ffffff' -font ${GENERIC_TTF} -pointsize 18 -fill '#600' \
  -stroke 'none' null: null: null: null: null: null: null: 'Tile*_out.miff' \
  -compress ${MIFF_COMPRESS} montage_out.miff
test_command_fn 'Prepare logo' ${GM} convert ${CONVERT_FLAGS} logo: -resize 40% -compress ${MIFF_COMPRESS} logo_out.miff
test_command_fn 'Composite logo' ${GM} composite ${COMPOSITE_FLAGS} 'tmp:logo_out.miff' -gravity north 'tmp:montage_out.miff' -depth 8 -compress ${MIFF_COMPRESS} demo.miff
:
